import ij.IJ;
import ij.ImagePlus;
import ij.plugin.filter.PlugInFilter;
import ij.process.ImageProcessor;

import java.awt.Color;
import java.awt.Point;
import java.util.List;



public class Trajectory_ClearAll implements PlugInFilter {
	
	ImagePlus origImage = null;
	
	public int setup(String arg, ImagePlus img) { 
    	origImage = img;
		return DOES_RGB; 
	}
	
	public void run(ImageProcessor ip) {
		String PROPKEY = TrajectoryUtils.PROPKEY;	// the key to this property
		origImage.setProperty(PROPKEY, null);		// delete all trajectories
		origImage.killRoi();
		ip.setColor(Color.white);
		ip.fill();
		origImage.updateAndDraw();
	}
	


}
	
